Applies an action to each item of the given enumeration.

Name Description
ForEach<TItem>(this IEnumerable, Action<TItem>) Applies an action to each item of the given enumeration.
ForEach<TItem>(this IEnumerable<TItem>, Action<TItem>) Applies an action to each item of the given enumeration.